import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author brianxia
 * @version 1.0
 * @date 2021/10/6 18:52
 */
public class Slf4jBinding {

    public static Logger log = LoggerFactory.getLogger(Slf4jBinding.class);

    public static void main(String[] args) {
        log.info("测试logback");
        try{
            throw new RuntimeException("123");

        }catch (Exception e){
            log.error("出错了",e);
        }

    }
}
